package io.lb.deng.webflux.api.model;

import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author DengLibin
 * @date Thu Sep 30 15:53:20 CST 2021
 * @desc 用户对象vo
 */
@Data
@ApiModel
public class UserVo implements Serializable {

    public UserVo() {
    }

    public UserVo(Long id, String name, LocalDateTime createDate) {
        this.id = id;
        this.name = name;
        this.crateDate = createDate;
    }

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("username")
    private String username;

    @ApiModelProperty("password")
    private String password;


    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("创建日期")
    private LocalDateTime crateDate;

}
